<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="pu" uri="/WEB-INF/tld/pageutil.tld" %>
<%@taglib prefix="mu" uri="/WEB-INF/tld/mallutil.tld" %>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt-rt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib uri="/WEB-INF/tld/importTag.tld" prefix="importTag"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<c-rt:set var="frontHtmlPath" value='<%=ServerValue.getFrontApachePath()%>'/>
<c-rt:set var="frontendContextPath"><%=ServerValue.getFrontContextPath()%></c-rt:set>
${pu:reqSet('order', pu:get('com.yaodian100.ec.order.entity.Orders', param.orderId)) } 
<c-rt:if test="${order.orderSt == '80' || order.orderSt == '81' }">
    ${pu:reqSet('serviceOrderHql', 'from ServiceOrders where orderId=? and srcType=? order by createDate desc') }
    ${pu:listAdd('params', order.orderId) }
   	${pu:listAdd('params', pu:toInteger(3)) }
   	${pu:reqSet('cancelReason', pu:queryByHql(serviceOrderHql, pu:arrayGet('params'), null)[0].reason) }
</c-rt:if>
<c-rt:if test="${order.memberId == mu:memberId()}">
<%--出货查询 --%>
  <c-rt:set scope="request"  var="logisticComp" value=""/>
  <c-rt:set var="logisticNum" value="${null }"/>
  <c-rt:set var="logisticUrl" value="${null }"/>
  <c-rt:set var="logisticDisplay" value="Y"/>
  <c-rt:set var="logistic" value="N"/>
	<c-rt:forEach items="${order.orderProduct }" var="op" varStatus="opStatus">
    <c-rt:if test="${empty logisticNum && logistic!='Y'}">
    <c-rt:choose>
		<c-rt:when test="${(!empty op.logisticCompany2) && (op.logisticCompany2 != ' ')}">
    		<c-rt:set  var="logisticNum" value="${op.logisticNo } " />
    		${pu:reqSet('lc', pu:get('com.yaodian100.crm.workorder.entity.LogisticProvider', op.logisticCompany2)) }
    		
    		<c-rt:if test="${!empty lc}">
    			<c-rt:set scope="request" var="logisticComp" value="${lc.name} " />
    			<c-rt:set scope="request" var="logisticUrl" value="${lc.searchUrl} " />
    		</c-rt:if>
    		<c-rt:if test="${empty lc}">
    			<c-rt:set scope="request" var="logisticComp" value="${op.logisticCompany2}" />
    		</c-rt:if>
    		
			<c-rt:set var="logistic" value="Y"/>
		</c-rt:when>
		<c-rt:otherwise>
			<c-rt:if test="${(!empty op.logisticCompany) && (op.logisticCompany != ' ')}">
				<c-rt:set var="logisticNum" value="${op.logisticRefNum } " />
    			${pu:reqSet('lc', pu:get('com.yaodian100.crm.workorder.entity.LogisticProvider', op.logisticCompany)) }
    		
	    		<c-rt:if test="${!empty lc}">
	    			<c-rt:set scope="request" var="logisticComp" value="${lc.name} " />
	    			<c-rt:set scope="request" var="logisticUrl" value="${lc.searchUrl} " />
	    		</c-rt:if>
	    		<c-rt:if test="${empty lc}">
	    			<c-rt:set scope="request" var="logisticComp" value="${op.logisticCompany2}" />
	    		</c-rt:if>
			</c-rt:if>	
			<c-rt:set var="logistic" value="Y"/>		
		</c-rt:otherwise>
	</c-rt:choose>
    </c-rt:if>
    <c-rt:if test="${empty logisticComp || logisticComp==''|| logisticComp== 'null'}">     
	  <c-rt:if test="${!empty op.logisticCompany && logisticComp!=''}">
	  	<c-rt:set var="logisticComp" value="${op.logisticCompany} " />
	  </c-rt:if>
	  <c-rt:set var="logisticDisplay" value="N"/>
	</c-rt:if>
    </c-rt:forEach>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta http-equiv="Content-Language" content="zh-CN" /> 
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
<title>我的订单－最近的订单－我的耀点100－耀点100</title> 
<style>
.promo-popup{padding:10px;*padding:10px 0 10px 8px; color:#666;line-height:1.4em; }
.promo-popup h2,.promo-popup h3{font-size:15px;color:#d12e6f; margin-bottom:.8em;}
.promo-popup h3{color:#666;}
.promo-popup p{margin:.5em 0;}
.promo-popup .d-line{background:url(/images/link_dote.gif) repeat-x scroll 0 50%; padding:1px 0;}
.promo-popup ol,.promo-popup ul{margin-bottom:1em;margin-left:2em;}
.promo-popup li{list-style:decimal;}
</style>
<link rel="stylesheet" href="/css/yaodian100_v2.css" type="text/css" media="screen" /> 
<link rel="stylesheet" href="/css/yaodian100_p1_v2.css" type="text/css" media="print" />
<link rel="stylesheet" href="/css/jquery-ui-1.7.2.custom.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/css/pageable.css" type="text/css" media="screen" />
<script type="text/javascript" charset="UTF-8" src="/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery-ui-1.7.2.custom.min.js"></script>
<script src="/js/pageable.js"></script>
<script>
$().ready(function(){
	$("#postOffice").click(function(){
		openDialog("邮局汇款单范例",$("#divPostOffice").load("/pages/CART/step03_demo_postoffice.html"),600,580);	
	});
	$("#bank").click(function(){
		openDialog("银行汇款单范例",$("#divBank").load("/pages/CART/step03_demo_bank.html"),600,580);	
	});
	<c-rt:if test="${order.receiverTp=='30'}">
	var dpnNotice = ' <p><strong>达芙妮门店取货注意事项：</strong></p>'+
       ' <p>• 到货时，系统将以email及短信通知您取货时间。<br>'+
        '  • 请于到货后<span class="txt-rd">7天</span>内至门店取货。<br>'+
        '  • 取货时，必须由<span class="txt-rd">收货本人出示有效证件</span>或<span class="txt-rd">手机取货短信</span>，方可领货。<br>'+
       ' • 逾期未领货，系统将自动取消您的订单，提醒您尽早取货。</p>';
      //class="atstore-end"
    $("#dpnNoicte").html(dpnNotice).addClass('atstore-end').css('margin-left','30px');
    </c-rt:if>
});
</script>
</head> 
<body> 
<div id="container" style="width:600px;"> 
  <input type="submit" name="button" id="button" onclick="history.back()" value="回前一页" /></div> 
  <div id="header"> 
    <a href="/"><img src="/images/logo.gif" alt="耀点100"/></a>
  </div> 
  <div id="container"> 
    <div id="main" class="member-index"> 
  	<div class="content mb-od-dtl" style="width:600px;"> 
      <h2>订单明细</h2> 
    <!-- 我的订单 --> 
    <div> 
  <!-- 订单状态 --> 
   <h3>订单状态</h3> 
   <c-rt:choose>
    <c-rt:when test="${order.orderSt=='10' && order.paymentTp=='10'}">
     <div class="d-show"> 
	  <div class="step-payment-head">等待付款</div> 
	  <div  id="dpnNoicte"></div>
      <div class="step-payment-form print-page"> 
        <table> 
        <tr> 
        <td colspan="2"><img src="/images/step_arrow_icon.gif"><strong class="txt-m"> 您可以至任何一家银行汇款</strong> (<a href="javascript:;" id="bank"> 汇款单范例</a> )</td> 
        </tr> 
        <tr> 
        <th>应付金额</th> 
        <td><strong class="txt-L txt-rd">￥<fmt:formatNumber pattern="######0.0"  value="${order.joinMustPay}"/> 元</strong><br/> 
           <c-rt:if test="${order.myWallet != 0 or order.giftcardBalance != 0}">
           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay+order.myWallet+order.giftcardBalance}"/></span> 元
            <c-rt:if test="${order.myWallet != 0}">
            	－ 我的账户余额支付 <span id="virtualBalance">￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></span>元
            </c-rt:if>
            <c-rt:if test="${order.giftcardBalance != 0}">
            	－ 我的礼品卡支付 <span>￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></span>元
            </c-rt:if>
            )</span>
           </c-rt:if> 
        </td> 
        </tr> 
        <tr> 
        <th>付款期限</th> 
        <td><strong class="txt-L txt-rd"><fmt-rt:formatDate value="${order.deadline}" pattern="yyyy-MM-dd HH:mm"/> </strong><br/> 
            <span class="txt-gy">请尽早付款，逾期系统将自动取消您的订单。</span> 
        </td> 
        </tr> 
<c-rt:if test="${order.orderId ne order.joinOrders}">
<c-rt:set var="joinOrders" value="${fn:split(order.joinOrders, ',')}" />
			        <tr>
			        <th>合并结帐</th>
			        <td><strong class="txt-L txt-rd">
<c-rt:forEach items="${joinOrders}" var="joinOrder" varStatus="status">
<c-rt:if test="${status.index ne 0}">,</c-rt:if>
订单 <a href="/ecmall/member/order/page.do?page=detail&orderId=${joinOrder}">${joinOrder}</a>
</c-rt:forEach><br/> 
            <span class="txt-gy">您结帐的商品被拆成以上订单，将各自出貨。</span></strong>
			        </td>
			        </tr></c-rt:if>
        <tr> 
        <th>银行汇款单<br/>必填信息</th> 
        <td class="step-payment-re"><ul> 
        <li><strong>‧收款人户名：</strong>六度贸易(上海)有限公司</li> 
        <li><strong>‧汇款帐号：</strong>招商银行上海五角场支行/121908531810501</li> 
        <li><strong>‧附言栏：</strong>请务必注明<strong class="txt-rd">订单编号${order.orderId}</strong></li> 
        </ul> 
        </td> 
        </tr> 
        </table> 
        </div> 
 
     </div> 
     </c-rt:when>
    <c-rt:when test="${order.orderSt=='10' && order.paymentTp=='20'}">
     <div class="d-show"> 
	  <div class="step-payment-head">等待付款</div> 
	  <div  id="dpnNoicte"></div>
      <div class="step-payment-form print-page"> 
        <table> 
        <tr> 
        <td colspan="2"><img src="/images/step_arrow_icon.gif"><strong class="txt-m"> 请及早至邮局汇款</strong> (<a href="javascript:;" id="postOffice"> 汇款单范例</a> )</td> 
        </tr> 
        <tr> 
        <th>应付金额</th> 
        <td><strong class="txt-L txt-rd">￥<fmt:formatNumber pattern="######0.0"  value="${order.joinMustPay}"/> 元</strong><br/>
           <c-rt:if test="${order.myWallet != 0 or order.giftcardBalance != 0}">
           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay+order.myWallet+order.giftcardBalance}"/></span> 元
            <c-rt:if test="${order.myWallet != 0}">
            	－ 我的账户余额支付 <span id="virtualBalance">￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></span>元
            </c-rt:if>
            <c-rt:if test="${order.giftcardBalance != 0}">
            	－ 我的礼品卡支付 <span>￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></span>元
            </c-rt:if>
            )</span>
           </c-rt:if>          
        </td> 
        </tr> 
        <tr> 
        <th>付款期限</th> 
        <td><strong class="txt-L txt-rd"><fmt-rt:formatDate value="${order.deadline }" pattern="yyyy-MM-dd HH:mm"/> </strong><br/> 
            <span class="txt-gy">请尽早付款，逾期系统将自动取消您的订单。</span> 
        </td> 
        </tr> 
<c-rt:if test="${order.orderId ne order.joinOrders}">
<c-rt:set var="joinOrders" value="${fn:split(order.joinOrders, ',')}" />
			        <tr>
			        <th>合并结帐</th>
			        <td><strong class="txt-L txt-rd">
<c-rt:forEach items="${joinOrders}" var="joinOrder" varStatus="status">
<c-rt:if test="${status.index ne 0}">,</c-rt:if>
订单 <a href="/ecmall/member/order/page.do?page=detail&orderId=${joinOrder}">${joinOrder}</a>
</c-rt:forEach><br/> 
            <span class="txt-gy">您结帐的商品被拆成以上订单，将各自出貨。</span></strong>
			        </td>
			        </tr></c-rt:if>
        <tr> 
        <th>邮局汇款单<br/>必填信息</th> 
        <td class="step-payment-re"><ul> 
        <li><strong>‧汇款种类：</strong>请勾选「商务付款」</li> 
        <li><strong>‧商户客户号：</strong>请填写 312221025</li> 
        <li><strong>‧附言栏：</strong>请务必注明<strong class="txt-rd">订单编号${order.orderId}</strong></li> 
        </ul> 
        </td> 
        </tr> 
        </table> 
        </div> 
 
     </div> 
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='10' && (order.paymentTp=='50'||order.paymentTp=='70'||order.paymentTp=='80')}">
     <div class="d-show"> 
	  <div class="step-payment-head">等待付款</div>
	  <div  id="dpnNoicte"></div> 
      <div class="step-payment-form print-page"> 
        <table> 
        <tr> 
        <th>应付金额</th> 
        <td><strong class="txt-L txt-rd">￥<fmt:formatNumber pattern="######0.0"  value="${order.joinMustPay}"/> 元</strong><br/> 
           <c-rt:if test="${order.myWallet != 0 or order.giftcardBalance != 0}">
           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay+order.myWallet+order.giftcardBalance}"/></span> 元
            <c-rt:if test="${order.myWallet != 0}">
            	－ 我的账户余额支付 <span id="virtualBalance">￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></span>元
            </c-rt:if>
            <c-rt:if test="${order.giftcardBalance != 0}">
            	－ 我的礼品卡支付 <span>￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></span>元
            </c-rt:if>
            )</span>
           </c-rt:if> 
        </td> 
        </tr> 
        <tr> 
        <th>付款期限</th> 
        <td><strong class="txt-L txt-rd"><fmt-rt:formatDate value="${order.deadline }" pattern="yyyy-MM-dd HH:mm"/> </strong><br/> 
            <span class="txt-gy">请尽早付款，逾期系统将自动取消您的订单。</span> 
        </td> 
        </tr> 
<c-rt:if test="${order.orderId ne order.joinOrders}">
<c-rt:set var="joinOrders" value="${fn:split(order.joinOrders, ',')}" />
			        <tr>
			        <th>合并结帐</th>
			        <td><strong class="txt-L txt-rd">
<c-rt:forEach items="${joinOrders}" var="joinOrder" varStatus="status">
<c-rt:if test="${status.index ne 0}">,</c-rt:if>
订单 <a href="/ecmall/member/order/page.do?page=detail&orderId=${joinOrder}">${joinOrder}</a>
</c-rt:forEach><br/> 
            <span class="txt-gy">您结帐的商品被拆成以上订单，将各自出貨。</span></strong>
			        </td>
			        </tr></c-rt:if>
        </table> 
        <p class="btns-center"><a href="<c-rt:url value="/shopping/paymentInfo/paymentInfoView.do?orderId=${order.orderId}"/>" class="btn-pay3">网上支付</a></p> 
        </div> 
 
     </div> 
     </c-rt:when>
     
     <c-rt:when test="${order.orderSt=='20' && (order.paymentTp=='40')}">
     <div class="d-show"> 
     <p>
      订单确认中
     </p>
     <div  id="dpnNoicte"></div>
     </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='20' && (order.paymentTp!='40')}">
     <div class="d-show"> <p>
      订单确认中</p>
     <div  id="dpnNoicte"></div>
     </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='25'}">
     <div class="d-show"><p>
     订单确认中</p> 
    <div  id="dpnNoicte"></div>
    </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='30'}">
     <div class="d-show"><div class="step-payment-head">
     <c-rt:if test="${!empty order.orderProduct[0].logisticSendDt}">您订购的商品已于<fmt-rt:formatDate value="${order.orderProduct[0].logisticSendDt }" pattern="yyyy-MM-dd"/>发货</c-rt:if>
      <c-rt:if test="${empty order.orderProduct[0].logisticSendDt }">您订购的商品已经发货</c-rt:if>
     <c-rt:if test="${order.paymentTp=='30'}">，请在收货时向送货员支付您的货款</c-rt:if><c-rt:if test="${order.paymentTp=='60'}">，请於货物送达时完成POS机刷卡支付</c-rt:if>。
     </div>
      <c-rt:if test="${not empty logisticComp && logisticComp != ''}">   
    	  <ul>
            <li class="w-1of2"><strong>．快递单号为：</strong><span class="txt-rd">${logisticNum }</span></li>
            <li class="w-1of1"><strong>．配送公司：</strong>${logisticComp}</li>
          </ul>
      </c-rt:if>
          <br/><br/><br/><br/>
    <div  id="dpnNoicte"></div>
    </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='32'}">
     <div class="d-show"><p style="text-indent: 2em; line-height: 2em;" class="txt-m">
    您订购的商品已经送达！
    <c-rt:if test="${order.receiverTp=='30'}">请于<span class="txt-rd"><strong><fmt-rt:formatDate value="${pu:addDays(order.logisticFinalDt, 7) }" pattern="yyyy-MM-dd"/></strong></span>前至您指定的门店取货。</c-rt:if>    
    </p>
    <div  id="dpnNoicte"></div>
    </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='35'}">
     <div class="d-show"><p> 
  <c-rt:if test="${order.receiverTp=='30'}">商品已经于<span class="txt-rd"><strong><fmt-rt:formatDate value="${order.logisticSignDt}" pattern="yyyy-MM-dd"/></strong></span>取货</c-rt:if>
    <c-rt:if test="${order.receiverTp!='30'}">您订购的商品已经送达！</c-rt:if> 
    </p>
    <div  id="dpnNoicte"></div>
    </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='90'}">
     <div class="d-show"><p> 
    交易成功</p>
    <div  id="dpnNoicte"></div>
    </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='70'}">
     <div class="d-show"> 
    此笔订单交易未成功。可能原因为：<br/>
	<p style="line-height: 2em; margin-left: 2em;" class="txt-m">1. 商品无人接收。</p>
    <p style="line-height: 2em; margin-left: 2em;" class="txt-m">2. 您已拒收商品。</p>
    <p style="line-height: 2em; margin-left: 2em;" class="txt-m">3. 您的收货地址不支援货到付款。</p>
    <p style="line-height: 2em; margin-left: 2em;" class="txt-m">4. 您逾期未至达芙妮门店取货。</p>
   <p>&nbsp;</p>
   <p style="line-height: 2em; margin-left: 2em;" class="txt-m">若您已支付货款，我们将於10日内进行退款。</p>
   
	</div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='81'}">
     <div class="d-show"> <p>
     <%--TODO
     ${pu:reqSet('soHql', 'from ServiceOrders where orderId=? and srcType=?') }
     ${pu:listAdd('params', order.orderId) }
     ${pu:listAdd('params', pu:toInteger(3)) }
     ${pu:reqSet('cancelDate', pu:queryByHql(soHql, pu:arrayGet('params'), null)[0].createDate) }
  	 --%>  
    您已於<fmt-rt:formatDate value="${order.modifyDate }" pattern="yyyy-MM-dd HH:mm"/>取消订单
    </p>
    
    </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='80'}">
     
     <div class="d-show"> 
     <p>
    系统已於<fmt-rt:formatDate value="${order.modifyDate }" pattern="yyyy-MM-dd HH:mm"/>取消订单
    </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='60'}">
     <div class="d-show"> <p>
    商品无法发货，订单已取消。</p>
    </div>
     </c-rt:when>
     <c-rt:when test="${order.orderSt=='61'}">
     <div class="d-show"> <p>
   商品无法发货，等待退款</p>
   </div>
     </c-rt:when>
      <c-rt:when test="${order.orderSt=='00' && (order.paymentTp=='30'||order.paymentTp=='60')}">
    <div class="d-show"> 
     <p style="text-indent: 2em; line-height: 2em;" class="txt-m">
     订单审核中，请等候客服人员与您联系并确认订单信息。
     </p>
     </div>
    </c-rt:when>
       <c-rt:when test="${order.orderSt=='00' && (order.paymentTp=='10'||order.paymentTp=='20'||order.paymentTp=='50'||order.paymentTp=='70'||order.paymentTp=='80')}">
	    <div class="d-show"> 
	     <p style="text-indent: 2em; line-height: 2em;" class="txt-m">
	    我们的客服人员将尽速透过电话与您联系，向您确认订购内容，请务必保持电话畅通。
	     </p>
	     </div>
    </c-rt:when>
     </c-rt:choose>
  <!-- 订单明細 --> 
    <h3>商品清单</h3> 
		<div class="od-detail d-show"> 
	    <table class="tb-2" width="200px;"> 
	        <thead> 
	          <tr> 
	            <th width="200">商品名称</th>
	            <th width="50">类型</th>
	            <th width="70">属性</th>
	            <th width="85">单价</th>
	            <th width="50">数量</th>
	            <th width="85">小计</th>
	          </tr> 
	        </thead> 
	        <tbody> 
	        <c-rt:forEach items="${order.orderProduct }" var="op" varStatus="opStatus">
						<c-rt:if test="${op.prodTp=='6'}">
	          	<tr>
	            	<td colspan="5" align="left" class="table-in">
	            		<table border="0">
	                	<tr>
		                  <td width="200"><p>${op.prodName}</p><div class="txt-rd" style="text-align:left; margin-top:-2px;"><c-rt:if test="${op.coupon != 0}">（此商品抵扣￥ ${pu:rmb(op.coupon)}元礼券）</c-rt:if></div>
		                  
		                  <c-rt:forEach items="${op.applyCampaigns}" var="ac" varStatus="status2">
	          	
	          	<p>
	          	<c-rt:if test="${ac.active}">
	          		<span class="type-4">优惠</span>
	          	</c-rt:if>
	          	<c-rt:if test="${!ac.active}">
	          		<span class="type-6">优惠</span>（不符合）
	          	</c-rt:if>
	          
	          	
	          	${pu:reqSet('pc', pu:get('com.yaodian100.ec.campaign.entity.Campaign', ac.campaignUuid)) }
	          	
	          	<a class="btn-promo" href="javascript:openCampaign_${opStatus.index }_${status2.index }()">${pc.campaignName } </a>
	          
				<script>
				<c-rt:set scope="request" var="campaignDetail">
            	${pu:replaceAll(pc.campaignDetail, '\'', '&#39;')}
            	</c-rt:set>
            	<c-rt:set scope="request" var="campaignDesc">
            	${pu:replaceAll(pc.campaignDesc, '\'', '&#39;')}
            	</c-rt:set>
					function openCampaign_${opStatus.index }_${status2.index }(){
						var dialogId='dialog';
						<%
						String campaignDetail=(String)request.getAttribute("campaignDetail");
						String campaignDesc=(String)request.getAttribute("campaignDesc");
						campaignDetail=campaignDetail.replaceAll("\r\n", "").replaceAll("\r", "").replaceAll("\n", "");
						campaignDesc=campaignDesc.replaceAll("\r\n", "").replaceAll("\r", "").replaceAll("\n", "");
						request.setAttribute("campaignDetail", campaignDetail);
						request.setAttribute("campaignDesc", campaignDesc);
						%>
						title='活动信息';
						campaignTitle='${pu:replaceAll(pc.campaignName, '\'', '&#39;')}';
						desc= '${campaignDesc}';
						detail='${campaignDetail}';
						startDate= '<fmt-rt:formatDate value="${pc.startDateTime}" pattern="yyyy/MM/dd HH:mm:ss"/>';
						endDate= '<fmt-rt:formatDate value="${pc.endDateTime}" pattern="yyyy/MM/dd HH:mm:ss"/>';
						url= '${pc.campaignUrl}';
						width= 300;
						height= 'auto';

						var content=compositeCampaign(campaignTitle, desc, detail, startDate, endDate, url);
						openDialog(title, content,width,height);
						$( '#'+dialogId).dialog('option', 'position', 'top' );
					}
				</script>

	          	</p>
	          	</c-rt:forEach>
		                  
		                  </td>
		                  <td width="50"><span class="type-0">主商品</span></td>
		                  <td width="70">&nbsp;</td>
		                  <td width="85" class="txt-price">￥ ${pu:rmb(op.unitPrice)}</td>
		                  <td width="50">1</td>
		                </tr>
		                <c-rt:forEach items="${op.orderProductDetail}" var="opd">
		                	<c-rt:if test="${opd.detailTp == '6' and opd.prodId ne op.prodId}">
			                	<tr>
				                  <td class="txt-gy"><p>${opd.prodName}</p></td>
				                  <td><span class="type-4">活动</span></td>
				                  <td width="70" class="txt-gy">${opd.prodSpecName}</td>
				                  <td>&nbsp;</td>
				                  <td class="txt-gy">${opd.qty}</td>
			                	</tr>
		                	</c-rt:if>
	                	</c-rt:forEach>
	                </table>
		            </td>
	            	<td align="left" class="txt-price">￥ ${pu:rmb(op.totalPrice)}</td>
	          	</tr>
          	</c-rt:if>
						<c-rt:if test="${op.prodTp=='5'}">
	          	<tr>
	            	<td colspan="5" align="left" class="table-in">
	            		<table border="0">
	                	<tr>
		                  <td width="200"><p>${op.prodName}</p><div class="txt-rd" style="text-align:left; margin-top:-2px;"><c-rt:if test="${op.coupon != 0}">（此商品抵扣￥ ${pu:rmb(op.coupon)}元礼券）</c-rt:if></div></td>
		                  <td width="50"><span class="type-5">满额购</span></td>
		                  <td width="70">&nbsp;</td>
		                  <td width="85" class="txt-price">￥ ${pu:rmb(op.unitPrice)}</td>
		                  <td width="50">1</td>
		                </tr>
		                <c-rt:forEach items="${op.orderProductDetail}" var="opd">
		                	<c-rt:if test="${opd.detailTp == '6'}">
			                	<tr>
				                  <td width="200" class="txt-gy"><p>${opd.prodName}</p></td>
				                  <td width="50"><span class="type-4">活动</span></td>
				                  <td width="70" class="txt-gy">${opd.prodSpecName}</td>
				                  <td width="85">&nbsp;</td>
				                  <td width="50" class="txt-gy">1</td>
			                	</tr>
		                	</c-rt:if>
	                	</c-rt:forEach>
	                </table>
		            </td>
	            	<td align="left" class="txt-price">￥ ${pu:rmb(op.totalPrice)}</td>
	          	</tr>
          	</c-rt:if>          	
          	<c-rt:if test="${op.prodTp=='0' or op.prodTp=='1' or op.prodTp=='7'}">
	          	<tr>
		            <td colspan="5" align="left" class="table-in">
		            	<c-rt:forEach items="${op.orderProductDetail}" var="opd" varStatus="status1">
				            <table border="0">
				            	<c-rt:if test="${opd.detailTp == '0' or opd.detailTp == '1' or opd.detailTp == '7'}">
				                <tr>
				                  <td width="200"><p>${opd.prodName}</p><div class="txt-rd" style="text-align:left; margin-top:-2px;"><c-rt:if test="${op.coupon != 0}">（此商品抵扣￥ ${pu:rmb(op.coupon)}元礼券）</c-rt:if>

				<c-rt:forEach items="${op.applyCampaigns}" var="ac" varStatus="status2">
	          	
	          	<p>
	          	<c-rt:if test="${ac.active}">
	          		<span class="type-4">优惠</span>
	          	</c-rt:if>
	          	<c-rt:if test="${!ac.active}">
	          		<span class="type-6">优惠</span>（不符合）
	          	</c-rt:if>
	          
	          	
	          	${pu:reqSet('pc', pu:get('com.yaodian100.ec.campaign.entity.Campaign', ac.campaignUuid)) }
	          	
	          	<a class="btn-promo" href="javascript:openCampaign_${opStatus.index }_${status2.index }()">${pc.campaignName } </a>
	          
				<script>
				<c-rt:set scope="request" var="campaignDetail">
            	${pu:replaceAll(pc.campaignDetail, '\'', '&#39;')}
            	</c-rt:set>
            	<c-rt:set scope="request" var="campaignDesc">
            	${pu:replaceAll(pc.campaignDesc, '\'', '&#39;')}
            	</c-rt:set>
					function openCampaign_${opStatus.index }_${status2.index }(){
						var dialogId='dialog';
						<%
						String campaignDetail=(String)request.getAttribute("campaignDetail");
						String campaignDesc=(String)request.getAttribute("campaignDesc");
						campaignDetail=campaignDetail.replaceAll("\r\n", "").replaceAll("\r", "").replaceAll("\n", "");
						campaignDesc=campaignDesc.replaceAll("\r\n", "").replaceAll("\r", "").replaceAll("\n", "");
						request.setAttribute("campaignDetail", campaignDetail);
						request.setAttribute("campaignDesc", campaignDesc);
						%>
						title='活动信息';
						campaignTitle='${pu:replaceAll(pc.campaignName, '\'', '&#39;')}';
						desc= '${campaignDesc}';
						detail='${campaignDetail}';
						startDate= '<fmt-rt:formatDate value="${pc.startDateTime}" pattern="yyyy/MM/dd HH:mm:ss"/>';
						endDate= '<fmt-rt:formatDate value="${pc.endDateTime}" pattern="yyyy/MM/dd HH:mm:ss"/>';
						url= '${pc.campaignUrl}';
						width= 300;
						height= 'auto';

						var content=compositeCampaign(campaignTitle, desc, detail, startDate, endDate, url);
						openDialog(title, content,width,height);
						$( '#'+dialogId).dialog('option', 'position', 'top' );
					}
				</script>

	          	</p>
	          	</c-rt:forEach>
				                  
				                  </div></td>
				                  <td width="50">
				                  	<c-rt:if test="${op.prodTp == '0'}">
				                  		<span class="type-0">主商品</span>
				                  	</c-rt:if>
				                  	<c-rt:if test="${op.prodTp == '1'}">
				                  		<span class="type-1">预购</span>
				                  	</c-rt:if>
				                  </td>
				                  <td width="70">${opd.prodSpecName}</td>
				                  <td width="85" class="txt-price">￥ ${pu:rmb(opd.unitPrice)}</td>
				                  <td width="50">${opd.qty}</td>
				                </tr>
				               </c-rt:if>
				               <c-rt:if test="${opd.detailTp == '2'}">
					             	<tr>
				                  <td width="200" class="txt-gy"><p>${opd.prodName}</p></td>
				                  <td width="50"><span class="type-2">赠品</span></td>
				                  <td width="70" class="txt-gy">&nbsp;</td>
				                  <td width="85" class="txt-price">&nbsp;</td>
				                  <td width="50" class="txt-gy">${opd.qty}</td>
				               	</tr>
				               </c-rt:if>
				               <c-rt:if test="${opd.detailTp == '3'}">
				               	<tr>
				                  <td width="200" class="txt-gy"><p>${opd.prodName}</p></td>
				                  <td width="50"><span class="type-3">加购</span></td>
				                  <td width="70" class="txt-gy">${opd.prodSpecName}</td>
				                  <td width="85" class="txt-price">￥ ${pu:rmb(opd.unitPrice)}</td>
				                  <td width="50" class="txt-gy">${opd.qty}</td>
			                 	</tr>
				               </c-rt:if>
				            </table>
			            </c-rt:forEach>
			          </td>
			          <td align="left" class="txt-price">￥ ${pu:rmb(op.totalPrice)}</td>
			        </tr>
				     </c-rt:if>
				   </c-rt:forEach>
	        </tbody> 
	      </table> 
	      
	     	<p class="total">本次订购共 <strong class="txt-rd">${order.productSum}</strong> 项商品，商品总额：<span>￥<input type="text" value="${pu:rmb(order.totalPrice) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	     	<p class="total">折抵优惠：<span>￥<input type="text" value="- ${pu:rmb(order.discount) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	     	<div class="total-line">
	     		<p class="total"><strong>合计金额</strong>：<span>￥<input type="text" value="${pu:rmb(order.amount) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	      	<p class="total">运费：<span>￥<input type="text" value="+ ${pu:rmb(order.shipfare) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	      	<p class="total">货到付款手续费：<span>￥<input type="text" value="+ ${pu:rmb(order.codFee)}" class="show-money txt-bk" readonly="readonly">元</span></p>
		      <p class="total">抵扣礼券：<span>￥<input type="text" value="- ${pu:rmb(order.coupon) }" class="show-money txt-bk" readonly="readonly">元</span></p>
		      <p class="total">抵扣购物金：<span>￥<input type="text" value="- ${pu:rmb(order.bonus) }" class="show-money txt-bk" readonly="readonly">元</span></p>
		    </div>
	      <div class="total-line"> 
	      <p class="total"><strong>订单金额：</strong><span>￥<input type="text" value="${pu:rmb(order.totalPrice - order.bonus - order.coupon + order.shipfare - order.discount + order.codFee) }" class="show-money txt-bk" readonly="readonly">元</span></p> 
	      <p class="total">礼品卡支付： <span>￥<input type="text" value="- ${pu:rmb(order.giftcardBalance) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	      <p class="total">账户余额支付： <span>￥<input type="text" value="- ${pu:rmb(order.myWallet) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	      <c-rt:if test="${order.paymentTp == '80'}"><p class="total">分期附加费：<span>￥<input type="text" value="+ ${pu:rmb(order.installmentFee) }" class="show-money txt-bk" readonly="readonly">元</span></p></c-rt:if>
	      </div>
	      <div class="total-line"> 
	      	<p class="total txt-m"><strong>剩余应付金额：</strong><strong class="txt-rd">￥<input type="text" value="${pu:rmb(order.mustPay) }" class="show-money txt-L" readonly="readonly">元</strong></p>
	      </div> 
	 		</div> 
      <!-- 订单明細 --> 
      <!-- 订单資訊 --> 
      <h3>订单信息</h3> 
      <div class="d-show"> 
        <ul> 
          <li class="w-1of2"><strong>订单编号：</strong>${order.orderId }</li> 
          <li class="w-1of2"><strong>订购时间：</strong><fmt-rt:formatDate value="${order.createDate }" pattern="yyyy-MM-dd HH:mm"/></li> 
          <c-rt:if test="${not empty order.tuangouId}">
          	${pu:listAdd('tuangouId', order.tuangouId) }
			${pu:reqSet('tuangou', pu:queryByHql('from ShelfTuangou where tuangouId=?', pu:arrayGet('tuangouId'), null)) }           	
          	<li class="w-1of1"><strong>活动时间：</strong><fmt:formatDate pattern="yyyy-MM-dd HH:mm" value="${tuangou[0].startDate }"/> 到 <fmt:formatDate pattern="yyyy-MM-dd HH:mm" value="${tuangou[0].endDate}"/></li>
          	<li class="w-1of1"><strong>团购名称：</strong><span class="tg-name-p"><a href="${frontendContextPath}/tuangou/product.do?tuangouId=${order.tuangouId}">${tuangou[0].promoteName}</a></span></li>  
          </c-rt:if>
        </ul> 
      </div> 
      <!-- 订单資訊 --> 
      <!-- 收件人 --> 
      <h3>收货人信息</h3> 
      <div class="d-show"> 
        <ul> 
          <li class="w-1of2"><strong>姓 名：</strong>${order.receiverName!=''?order.receiverName:'--' }</li> 
          <li class="w-1of1"><div><strong>地 址：</strong></div><div>${order.receiverProvince }，${order.receiverCity }，${order.receiverArea }${order.receiverAddr }，${order.receiverZip }</div></li> 
          <li class="w-1of2">
           <strong>手机号码：</strong>${order.receiverMobile!=''?order.receiverMobile:'--' }
           </li>
          <li class="w-1of2">
          	<strong>固定电话：</strong><c-rt:if test="${order.receiverPhone!=' '}"><c-rt:if test="${order.receiverPhoneArea!=' ' }">${order.receiverPhoneArea }-</c-rt:if>${order.receiverPhone } <c-rt:if test="${order.receiverExt!=' '}">分机：${order.receiverExt}</c-rt:if>
          	</c-rt:if>
          	<c-rt:if test="${order.receiverPhone==' '}">
          		--
          	</c-rt:if>
           </li>
            <c-rt:if test="${member.applySource eq 'nonmember'}">
	      <li class="w-1of1"><strong>联络邮箱：</strong>${order.receiverEmail}</li>
	      </c-rt:if>
        </ul> 
      </div> 
      <!-- 收件人 --> 
      <!-- 送貨資訊 --> 
      <h3>送货信息</h3> 
      <div class="d-show"> 
        <ul>         
          <c-rt:if test="${order.receiverTp!='30'}">
        <ul> 
          <li class="w-1of2"><strong>送货方式：</strong>${pu:menuOption('Order.ReceiverTp', order.receiverTp).name }</li>
          <li class="w-1of2"><strong>发货日期：</strong><c-rt:if test="${!empty order.orderProduct[0].logisticSendDt}"><fmt-rt:formatDate value="${order.orderProduct[0].logisticSendDt }" pattern="yyyy-MM-dd HH:mm"/></c-rt:if>
          <c-rt:if test="${empty order.orderProduct[0].logisticSendDt }">--</c-rt:if> 
          </li> 
        </ul> 
        </c-rt:if>
        <c-rt:if test="${order.receiverTp=='30'}">
         <ul> 
          <li class="w-1of2"><strong>运送方式：</strong>达芙妮门店取货</li>
          <li class="w-1of2"><strong>发货日期：</strong><c-rt:if test="${!empty order.orderProduct[0].logisticSendDt}"><fmt-rt:formatDate value="${order.orderProduct[0].logisticSendDt }" pattern="yyyy-MM-dd"/></c-rt:if>
          <c-rt:if test="${empty order.orderProduct[0].logisticSendDt }">--</c-rt:if> 
          </li>
          <li class="w-1of2"><strong>到店日期：</strong><c-rt:if test="${!empty order.logisticFinalDt}"><fmt-rt:formatDate value="${order.logisticFinalDt }" pattern="yyyy-MM-dd"/></c-rt:if>
          <c-rt:if test="${empty order.logisticFinalDt }">--</c-rt:if> 
          </li> 
        </ul>
        </c-rt:if>
        </ul> 
      </div> 
      <!-- 送貨資訊 --> 
      <!-- 付款方式 --> 
      <h3>付款信息</h3> 
      <div class="d-show"> 
       <c-rt:choose>
      	<c-rt:when test="${order.paymentSt=='00' && order.paymentTp=='10'}">
      	<!-- 待付款 ／银行 -->
        <ul> 
				<c-rt:choose>
	        <c-rt:when test="${order.myWallet != 0 and order.giftcardBalance !=0}">
	          <li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/>,我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li> 
			 		</c-rt:when>
			 		<c-rt:otherwise>
			 			<c-rt:if test="${order.myWallet != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></li>
			 			</c-rt:if>
			 			<c-rt:if test="${order.giftcardBalance != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li>
			 			</c-rt:if>
			 		</c-rt:otherwise>
			 	</c-rt:choose>
          <li class="w-1of1"><strong><c-rt:if test="${order.myWallet == 0}">等待付款：</c-rt:if><c-rt:if test="${ order.myWallet!= 0}">余额付款：</c-rt:if></strong>
银行转帐支付￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay}"/> <c-rt:if test="${order.orderSt!='00'}">(請於<fmt-rt:formatDate value="${order.deadline}" pattern="yyyy-MM-dd HH:mm"/>以前进行支付) </c-rt:if> 查看银行转帐帮助
		</li> 
        </ul> 
        </c-rt:when>
        <c-rt:when test="${order.paymentSt=='10' && order.paymentTp=='10'}">
        <!-- 已付款 ／银行 -->
        <ul> 
				<c-rt:choose>
	        <c-rt:when test="${order.myWallet != 0 and order.giftcardBalance !=0}">
	          <li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/>,我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li> 
			 		</c-rt:when>
			 		<c-rt:otherwise>
			 			<c-rt:if test="${order.myWallet != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></li>
			 			</c-rt:if>
			 			<c-rt:if test="${order.giftcardBalance != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li>
			 			</c-rt:if>
			 		</c-rt:otherwise>
			 	</c-rt:choose>
          <li class="w-1of1"><strong>已经付款：</strong>
银行转帐支付￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay}"/>
		</li> 
        </ul> 
        </c-rt:when>
        
        <c-rt:when test="${order.paymentSt=='00' && order.paymentTp=='20'}">
        <!-- 待付款 ／邮局 -->
        <ul> 
        <c-rt:if test="${order.myWallet != 0}">
          <li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></li> 
 		</c-rt:if>
          <li class="w-1of1"><strong><c-rt:if test="${order.myWallet == 0}">等待付款：</c-rt:if><c-rt:if test="${order.myWallet!= 0}">余额付款：</c-rt:if></strong>
邮局汇款支付￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay}"/> <c-rt:if test="${order.orderSt!='00'}">(請於<fmt-rt:formatDate value="${order.deadline}" pattern="yyyy-MM-dd HH:mm"/>以前进行支付) </c-rt:if> <a href="/help/5_bank.html" target="_blank">查看银行转帐帮助</a>
		</li> 
        </ul> 
        </c-rt:when>
        
        <c-rt:when test="${order.paymentSt=='10' && order.paymentTp=='20'}">
         <!-- 已付款 ／邮局 -->
        <ul> 
				<c-rt:choose>
	        <c-rt:when test="${order.myWallet != 0 and order.giftcardBalance !=0}">
	          <li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/>,我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li> 
			 		</c-rt:when>
			 		<c-rt:otherwise>
			 			<c-rt:if test="${order.myWallet != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></li>
			 			</c-rt:if>
			 			<c-rt:if test="${order.giftcardBalance != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li>
			 			</c-rt:if>
			 		</c-rt:otherwise>
			 	</c-rt:choose>
          <li class="w-1of1"><strong>已经付款：</strong>
邮局汇款支付￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay}"/>
		</li> 
        </ul> 
        </c-rt:when>
        
        <c-rt:when test="${order.paymentTp=='30'||order.paymentTp=='60'}">
         <!-- 货到付款 -->
        <ul> 
        
          <li class="w-1of2"><strong> <li class="w-1of1"><strong>${pu:menuOption('Order.PaymentTp',pu:toString(order.paymentTp)).name }</strong></strong></li> 
 		
        </ul> 
        </c-rt:when>
        
        <c-rt:when test="${order.paymentSt=='00' && order.paymentTp=='40'}">
        <!-- 帐 户余额  -->
        <ul> 
				<c-rt:choose>
	        <c-rt:when test="${order.myWallet != 0 and order.giftcardBalance !=0}">
	          <li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/>,我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li> 
			 		</c-rt:when>
			 		<c-rt:otherwise>
			 			<c-rt:if test="${order.myWallet != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></li>
			 			</c-rt:if>
			 			<c-rt:if test="${order.giftcardBalance != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li>
			 			</c-rt:if>
			 		</c-rt:otherwise>
			 	</c-rt:choose>        
        </ul>
        </c-rt:when>
        
        <c-rt:when test="${order.paymentSt=='00' && (order.paymentTp=='50'||order.paymentTp=='70'||order.paymentTp=='80')}">
        <!-- 待付款 ／第三方支付 -->
        <ul> 
				<c-rt:choose>
	        <c-rt:when test="${order.myWallet != 0 and order.giftcardBalance !=0}">
	          <li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/>,我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li> 
			 		</c-rt:when>
			 		<c-rt:otherwise>
			 			<c-rt:if test="${order.myWallet != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></li>
			 			</c-rt:if>
			 			<c-rt:if test="${order.giftcardBalance != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li>
			 			</c-rt:if>
			 		</c-rt:otherwise>
			 	</c-rt:choose>
          <li class="w-1of1"><strong><c-rt:if test="${order.myWallet == 0}">等待付款：</c-rt:if><c-rt:if test="${order.myWallet!=0}">余额付款：</c-rt:if></strong>
【网上支付方式】支付￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay}"/> <c-rt:if test="${order.orderSt!='00'}"> (請於<fmt-rt:formatDate value="${order.deadline}" pattern="yyyy-MM-dd HH:mm"/>以前进行支付)</c-rt:if> <a href="/help/5_post.html" target="_blank">查看邮局汇款帮助</a>
		</li> 
        </ul> 
        </c-rt:when>
        
        <c-rt:when test="${order.paymentSt=='10' && (order.paymentTp=='50'||order.paymentTp=='70'||order.paymentTp=='80')}">
        <!-- 已付款 ／第三方支付 -->
        <ul> 
				<c-rt:choose>
	        <c-rt:when test="${order.myWallet != 0 and order.giftcardBalance !=0}">
	          <li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/>,我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li> 
			 		</c-rt:when>
			 		<c-rt:otherwise>
			 			<c-rt:if test="${order.myWallet != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的账户余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.myWallet}"/></li>
			 			</c-rt:if>
			 			<c-rt:if test="${order.giftcardBalance != 0}">
			 				<li class="w-1of2"><strong>已经付款：</strong>我的礼品卡余额支付￥<fmt:formatNumber pattern="######0.0"  value="${order.giftcardBalance}"/></li>
			 			</c-rt:if>
			 		</c-rt:otherwise>
			 	</c-rt:choose>        
          <li class="w-1of1"><strong>已经付款：</strong>
【网上支付方式】支付￥<fmt:formatNumber pattern="######0.0"  value="${order.mustPay}"/>  (請於<fmt-rt:formatDate value="${order.deadline}" pattern="yyyy-MM-dd HH:mm"/>以前进行支付) <a href="/help/5_online.html" target="_blank">查看网上支付帮助</a>
		</li> 
        </ul> 
        </c-rt:when>
       </c-rt:choose>
      </div> 
      <!-- 付款方式 --> 
    <!-- START 商品缺货配送处理方法 -->   
	<c-rt:if test="${fn:length(order.orderProduct)>1 && order.receiverTp != '30'}">      
	<h3>商品缺货配送处理方法</h3>
	<div class="d-show">
	<ul><li class="w-1of1"><strong>商品缺货配送处理方法：</strong><c-rt:if test="${order.allowSplit == 'Y'}">有货先发</c-rt:if><c-rt:if test="${order.allowSplit != 'Y'}">货齐再发</c-rt:if></li></ul>
	</div>
	</c-rt:if>
	<!-- END 商品缺货配送处理方法 -->
      <!-- 购物金 --> 
      <h3>购物金说明</h3> 
      <div class="d-show"> 
        <ul> 
          <li class="w-1of1">当订单状态变为交易成功后，才可以查询具体购物金明细 。</li> 
        </ul> 
      </div> 
      <!-- 购物金 --> 
     </div> 
   <!-- 我的订单 --> 
  </div> 
  </div> 
  </div> 
  <div class="print-btns"><input type="submit" name="button" id="button" onclick="window.print()" value="确认打印" /><input type="submit" name="button" id="button" onclick="history.back()" value="回前一页" /></div> 
	<div id="footer">
		<importTag:static path="${frontHtmlPath}${hostName}/pages/footer/footer_text.html"/>
	</div>
</div> 
<div id="divPostOffice"></div> 
<div id="divBank"></div>
<div id="dialog"></div>
</body> 
</html> 
</c-rt:if>
